<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh">
<jsp:include page="/templates/head.jsp"></jsp:include>
<body>
	<jsp:include page="/templates/nav.jsp"></jsp:include>

	<div class="main">
		<jsp:include page="/templates/menu.jsp"></jsp:include>
		
		<div class="main-right">
			<div class="panel">
				<div class="panel-desc">
					<span class="main-nav-active"> <a href="/stuscore/">首页</a>
					</span> <span class="main-nav-sep"> / </span> <span class="main-nav-this">
						学生信息管理 </span>
				</div>
			</div>

			<div class="panel">
				<div class="panel-title">信息查询</div>

				<div class="panel-desc">
					<!-- <form action="/stuscore/project" class="search" method="post">
						<div>
						<input type="hidden" name="action" value="page">
						<input type="hidden" name="pageIndex" value="1">
						<input type="hidden" name="pageSize" value="10">
							<span class="search-label"> 科目名称： </span> <input type="text"
								class="search-input" name="name"/>

						</div>
						<div class="search">
							<button type="submit" class="btn btn-search">
								<span class="fa fa-search"></span>
							</button>
						</div>
					</form> -->
					
					<form action="" class="search" method="get">
						<div>
						
							<span class="search-label"> 学生姓名： </span> <input type="text"
								class="search-input" />

						</div>
						<div class="search">
							<button type="button" class="btn btn-search">
								<span class="fa fa-search"></span>
							</button>
						</div>
					</form>
				</div>
			</div>

			

			<div class="panel">
				<div class="panel-title">
					<button class="btn btn-add">
						<span class="fa fa-plus"></span>
					</button>
				</div>

				<div class="panel-desc">
					<table class="table-data">
						<thead>
							<tr>
								<td>序号</td>
								<td>学号</td>
								<td>学生姓名</td>
								<td>性别</td>
								<td>年龄</td>
								<td>班级</td>
								<td>处理</td>
							</tr>
						</thead>

						<tbody>
							<c:forEach var="data" items="${page.data}" varStatus="index">
								<tr>
									<td>${index.index+1 }</td>
									<td>${data.id }</td>
									<td>${data.name }</td>
									

									<td>${data.sex=="0"?"男":"女" }</td>
									<td>${data.age }</td>
									<td>${data.gid }</td>
									<td>
										
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
				
				
			</div>

			<div class="page-panel">
				<div class="page-panel-desc">共${page.count }条数据，每页${page.pageSize }条，第${page.pageIndex }页
				</div>
			</div>
		</div>
	</div>
	<jsp:include page="/templates/foot.jsp"></jsp:include>
	
	<script type="text/javascript" src="/stuscore/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript">
		
		
		
	</script>
</body>
</html>